<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libproxy</Name>
        <Homepage>http://code.google.com/p/libproxy/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>app:console</IsA>
        <Summary>Proxy configuration library</Summary>
        <Description>libproxy is a library that provides automatic proxy configuration management.</Description>
        <Archive sha1sum="c037969434095bc65d29437e11a7c9e0293a5149" type="targz">http://pkgs.fedoraproject.org/repo/pkgs/libproxy/libproxy-0.4.11.tar.gz/3cd1ae2a4abecf44b3f24d6639d2cd84/libproxy-0.4.11.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>gconf-devel</Dependency>
            <Dependency>libXmu-devel</Dependency>
            <Dependency>NetworkManager-devel</Dependency>
            <Dependency>webkit-gtk2-devel</Dependency>
            <Dependency>spidermonkey-devel</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>intltool</Dependency>
        </BuildDependencies>
        <Patches>
	    <Patch level="0">libproxy-0.4.10-mozjs.patch</Patch>
        <Patch level="1">0001-pacrunner_mozjs-Also-support-mozjs-17.0.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libproxy</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/libexec/</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libproxy-gnome3</Name>
        <RuntimeDependencies>
            <Dependency>libproxy</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libproxy/*/modules/config_gnome3.*</Path>
            <!-- add gconf helper to gnome package -->
            <Path fileType="executable">/usr/libexec/pxgconf</Path>
        </Files>
    </Package>

    <Package>
        <Name>libproxy-networkmanager</Name>
        <RuntimeDependencies>
            <Dependency>libproxy</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libproxy/*/modules/network_networkmanager.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libproxy-webkit-gtk2</Name>
        <RuntimeDependencies>
            <Dependency>libproxy</Dependency>
            <Dependency>webkit-gtk2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libproxy/*/modules/pacrunner_webkit*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libproxy-mozjs</Name>
        <RuntimeDependencies>
            <Dependency>libproxy</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libproxy/*/modules/pacrunner_mozjs*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libproxy-devel</Name>
        <Summary>Development files for libproxy</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libproxy</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/cmake</Path>
        </Files>
    </Package>

    <History>
	<Update release="3">
            <Date>2017-07-30</Date>
            <Version>0.4.10</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>    
        <Update release="2">
            <Date>2017-03-08</Date>
            <Version>0.4.10</Version>
            <Comment>Release bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-01</Date>
            <Version>0.4.10</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
